package top.buyibuyi.course.service.Impl;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.buyibuyi.course.dao.SelectClassroomDao;
import top.buyibuyi.course.pojo.Classroom;
import top.buyibuyi.course.pojo.Crstate;
import top.buyibuyi.course.service.SelectClassroomService;

import java.util.List;

@Service
public class SelectClassroomServiceImpl implements SelectClassroomService {
    @Autowired
    private SelectClassroomDao selectClassroomDao;

    @Override
    public List<Classroom> selectClassromAll() {
        return selectClassroomDao.selectClassromAll();
    }

    @Override
    public List<Classroom> selectclassrooms(int id) {
        return selectClassroomDao.selectclassrooms(id);
    }

}
